package com.kt.hwan;

import android.view.Surface;

public class MScreenCap {
	static {
		System.loadLibrary("jpeg_my");
		System.loadLibrary("testscrcap");
	}
	
	public native int nvstart();
	public native void nvstop();
	public native void nvdraw(Surface s);
	public native int nvOpenMirror(Surface s, int mode);
	public native void nvCloseMirror();
	public native int nvStartRecvFrame(String ip, int port, int transport);
	public native int nvStopRecvFrame();
	public native void nvSetMirrorCfg(int width, int height);
	public native int nvStartSendFrame(String ip, int port, int transport);
	public native void nvStopSendFrame();
	
	public native void nvCaptureTx();
}
